package com.gxp.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.gxp.common.annotation.Excel;
import com.gxp.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 仪器日志对象 zk_inst_log
 * 
 * @author zh
 * @date 2024-03-20
 */
public class ZkInstLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long instLogId;

    /** 仪器id */
    @Excel(name = "仪器id")
    private Long instId;

    /** 操作描述 */
    @Excel(name = "操作描述")
    private String description;

    /** 时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;

    public void setInstLogId(Long instLogId) 
    {
        this.instLogId = instLogId;
    }

    public Long getInstLogId() 
    {
        return instLogId;
    }
    public void setInstId(Long instId) 
    {
        this.instId = instId;
    }

    public Long getInstId() 
    {
        return instId;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setTime(Date time) 
    {
        this.time = time;
    }

    public Date getTime() 
    {
        return time;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("instLogId", getInstLogId())
            .append("instId", getInstId())
            .append("description", getDescription())
            .append("time", getTime())
            .toString();
    }
}
